Matthias Clasen [Fri, 17 Jun 2011 04:11:00 +0000 (00:11 -0400)]
We're not a module anymore
So no need to implement module entry points; and libgnome is
dead too, so no need to export functions for it either.
Matthias Clasen [Fri, 17 Jun 2011 03:13:38 +0000 (23:13 -0400)]
Add a first, trivial test for accessibles
Matthias Clasen [Fri, 17 Jun 2011 02:40:21 +0000 (22:40 -0400)]
And remove it from the build too
Matthias Clasen [Fri, 17 Jun 2011 02:38:48 +0000 (22:38 -0400)]
Remove the old gail tests
This is not what we are looking for in tests, and it hasn't been
touched in ages.
Benjamin Otte [Wed, 15 Jun 2011 10:46:50 +0000 (12:46 +0200)]
gtk: Include gail by default, don't build it as a module
It is now no longer possible to disable it.
This doesn't matter though because GTK will not instantiate a11y
objects until you actually use it. So nothing changes in practice.
Benjamin Otte [Tue, 14 Jun 2011 20:27:11 +0000 (22:27 +0200)]
gtk: Move a11y tests fro a11y/tests to tests/a11y
Benjamin Otte [Tue, 14 Jun 2011 20:08:55 +0000 (22:08 +0200)]
gail-util: Move into toplevel directory
Benjamin Otte [Tue, 14 Jun 2011 18:29:15 +0000 (20:29 +0200)]
gail: Copy gail-util functions into gail
Otherwise we get a circular dependency if we move libgail into GTK:
GTK depends on gail-util depends on gail (is part of GTK)
Benjamin Otte [Tue, 14 Jun 2011 15:54:27 +0000 (17:54 +0200)]
gail: Move from modules/other/gail to gtk/a11y
Benjamin Otte [Tue, 14 Jun 2011 14:09:35 +0000 (16:09 +0200)]
gail: No need to include modules/other in CFLAGS anymore
Now that we include headers directly, ew don't need it anymore. And the
current directory is included automatically.
Benjamin Otte [Tue, 14 Jun 2011 13:35:34 +0000 (15:35 +0200)]
gail: Include files directly
Instead of including <gail/gailfoo.h>, include "gailfoo.h"
Private headers should be included like this (to make it esily visible
that the headers are private) and we want to move this directory to a
different name, so hardcoding the directory name is counterproductive to
that.
Arash Mousavi [Tue, 5 Jul 2011 17:48:59 +0000 (22:18 +0430)]
Updated Persian translations
Matthias Clasen [Tue, 5 Jul 2011 15:04:06 +0000 (11:04 -0400)]
Post-release version bump
Up to 3.1.9
Matthias Clasen [Tue, 5 Jul 2011 15:03:23 +0000 (11:03 -0400)]
3.1.8
Matthias Clasen [Tue, 5 Jul 2011 13:33:51 +0000 (09:33 -0400)]
Update NEWS
Benjamin Otte [Tue, 5 Jul 2011 13:28:18 +0000 (15:28 +0200)]
reftests: Use an offscreen window to avoid artifacts
When tests are larger than the screen size and no compositing is
enabled, the window will be clipped to the screen size and all areas
outside of the screen have undefined contents.
To avoid this, we can use an offscreen window.
Benjamin Otte [Tue, 5 Jul 2011 13:18:14 +0000 (15:18 +0200)]
reftests: Fix label-sizing reference for Pango
See https://bugzilla.gnome.org/show_bug.cgi?id=649783 for a discussion
of the problem. Should this bug be fixed, this patch can just be
reverted.
Benjamin Otte [Tue, 5 Jul 2011 13:17:23 +0000 (15:17 +0200)]
reftests: load/save file once in Glade
This way the output is canonicalized for further editing. No changes
have been done.
Yaron Shahrabani [Sat, 2 Jul 2011 07:26:09 +0000 (10:26 +0300)]
Updated Hebrew translation.
Cosimo Cecchi [Fri, 1 Jul 2011 23:57:27 +0000 (01:57 +0200)]
reftests: Add test for box brokenness
This is a tests for the last commit.
Benjamin Otte [Fri, 1 Jul 2011 23:25:45 +0000 (01:25 +0200)]
box: Remove cache for sibling paths
We can't cache this path as widgets might dynamically add or remove
style classes without telling us. At which point the stored path does
not work.
Cosimo Cecchi [Fri, 1 Jul 2011 16:33:26 +0000 (12:33 -0400)]
toolbar: don't leak the sibling path
Cosimo Cecchi [Thu, 30 Jun 2011 21:00:32 +0000 (17:00 -0400)]
toolbar: don't count invisible widgets when building the sibling path
Also, fix RTL nth-child handling for toolbars.
Cosimo Cecchi [Thu, 30 Jun 2011 19:51:10 +0000 (15:51 -0400)]
toolbar: invalidate order when an item visibility changes
Matthias Clasen [Sat, 18 Jun 2011 17:14:18 +0000 (13:14 -0400)]
Test box and toolbar regions in parallel
This makes it easy to see discrepancies.
Plus, it is fun
Matthias Clasen [Sat, 18 Jun 2011 16:45:56 +0000 (12:45 -0400)]
toolbar: nth-child support for GtkToolbar
This doesn't quite work right yet.
Cosimo Cecchi [Thu, 30 Jun 2011 20:19:57 +0000 (16:19 -0400)]
box: follow children visibility when building the sibling path
This fixes nth-child not working for widgets which were not
visible before being added to the box, but it's also a better fix
for https://bugzilla.gnome.org/show_bug.cgi?id=652769
Cosimo Cecchi [Fri, 1 Jul 2011 15:47:41 +0000 (11:47 -0400)]
Revert "gtkbox: Invalidate order on changes, even if the child is not visible"
This reverts commit
8cb0cc58e321641ebda699b9cbdc0067aeb56d3f.
Matthias Clasen [Thu, 30 Jun 2011 23:18:26 +0000 (19:18 -0400)]
Fix up docs for predefined style classes.
The table was incomplete and out of date. Instead, just
put a list of links in that place, and move all the extra
documentation to the macros. Bug 653785
Matthias Clasen [Thu, 30 Jun 2011 18:45:16 +0000 (14:45 -0400)]
GdkKeymap: Prevent an infinite loop in the non-XKB case
Somehow the increment got lost, as comparison with the 2.x code
shows.
Vincent Untz [Tue, 28 Jun 2011 09:47:37 +0000 (11:47 +0200)]
gtkbox: Invalidate order on changes, even if the child is not visible
When we build the sibling path for the order, we do not skip hidden
children (since, quoting the comment, "we cannot reliably detect changes
in widget visibility"). So we need to invalidate the order when hidden
children are reordered and removed.
https://bugzilla.gnome.org/show_bug.cgi?id=652769
John (J5) Palmieri [Wed, 29 Jun 2011 18:53:33 +0000 (14:53 -0400)]
[gi] add more annotations to force drag and drop api to be methods
Wouter Bolsterlee [Wed, 29 Jun 2011 17:31:53 +0000 (19:31 +0200)]
Updated Dutch translation by Wouter Bolsterlee
John (J5) Palmieri [Wed, 29 Jun 2011 16:11:36 +0000 (12:11 -0400)]
[gi] make sure gtk_drag_dest_unset is annotated as a method
Juan Pablo Ugarte [Wed, 29 Jun 2011 14:45:33 +0000 (11:45 -0300)]
Make GtkBuilder do not delay construct properties that can be resolved
(so construct is respected when possible) and skip construct only props that
can not.
Javier Jardon [Wed, 29 Jun 2011 14:00:06 +0000 (15:00 +0100)]
gtk/gtkmenuitem: Remove reference to deprecated and removed GtkItem
Chun-wei Fan [Wed, 29 Jun 2011 05:55:46 +0000 (13:55 +0800)]
Update VS2010 READNE.txt
This file should have Windows CRLF EOL as well
Chun-wei Fan [Wed, 29 Jun 2011 04:49:14 +0000 (12:49 +0800)]
Re-attempt to correct EOL on VS2010 solution
This time I realized that I needed to set autocrlf=false on my Windows side
... ugh...
This is one of those files that must have CRLF line endings to work
correctly :|
Claudio Saavedra [Mon, 27 Jun 2011 16:58:21 +0000 (19:58 +0300)]
Use a PAGE_STEP macro instead of a magic number
Helps to understand the code.
https://bugzilla.gnome.org/show_bug.cgi?id=653512
Ihar Hrachyshka [Mon, 27 Jun 2011 22:32:26 +0000 (01:32 +0300)]
Updated Belarusian translation.
Matthias Clasen [Mon, 27 Jun 2011 20:46:33 +0000 (16:46 -0400)]
Don't forget to initialize a variable
Pointed out by clang in bug 653333.
John (J5) Palmieri [Mon, 27 Jun 2011 17:43:46 +0000 (13:43 -0400)]
[gi] correct annotation for GtkMenuPositionFunc callbacks
Mike Gorse [Wed, 22 Jun 2011 20:23:15 +0000 (15:23 -0500)]
bgo#653191 - fix uninitialized variable in gtk_file_chooser_entry.c
Paolo Borelli [Sun, 26 Jun 2011 18:41:21 +0000 (20:41 +0200)]
Speed up page insertion
Make sure to call widget_set_child_visible(false) on all tabs except the
current before calling widget_set_parent.
Ihar Hrachyshka [Sat, 25 Jun 2011 18:32:27 +0000 (21:32 +0300)]
Updated Belarusian translation.
Ihar Hrachyshka [Sat, 25 Jun 2011 18:25:44 +0000 (21:25 +0300)]
Updated Belarusian translation.
Chun-wei Fan [Fri, 24 Jun 2011 18:06:53 +0000 (02:06 +0800)]
Update VS projects distribution
Change the EXTRA_DIST to distribute the gtk3-demo projects (instead of
gtk-demo)
Chun-wei Fan [Fri, 24 Jun 2011 05:19:58 +0000 (13:19 +0800)]
Add headers required by gtk/gtkwin32embedwidget.c
Some functions from the added headers are needed by this file to compile
without C4013 (a.k.a implicit declaration of ...) warnings/errors
Chun-wei Fan [Fri, 24 Jun 2011 04:48:22 +0000 (12:48 +0800)]
Update VS project files
-Reinstate build/win32/vs10/gtk+.sln with the correct EOL (DOS/Windows), so
that it will be correctly recognized by Windows instead of having the
annoying "Unrecognized Visual Studio Version".
-Update property sheets to reflect on new headers added
-Change the demo program to be gtk3-demo.exe, to be consistent with the
names on other platforms, and updated/renamed related project/solution
files, and added overlay.c to the list of demo sources.
Chun-wei Fan [Fri, 24 Jun 2011 04:42:47 +0000 (12:42 +0800)]
Temporarily remove build/win32/vs10/gtk+.sln
The line endings need to be DOS/Windows...
Murray Cumming [Thu, 23 Jun 2011 22:20:57 +0000 (00:20 +0200)]
GtkPaned docs: Remove sentence saying see GtkPaned.
Arash Mousavi [Thu, 23 Jun 2011 19:02:24 +0000 (23:32 +0430)]
Updated Persian Translation
Scott Moreau [Thu, 23 Jun 2011 05:10:24 +0000 (23:10 -0600)]
Track wayland protocol changes.
Colin Walters [Wed, 22 Jun 2011 15:07:37 +0000 (11:07 -0400)]
introspection.m4: Update from g-i
This fixes substitution with dash.
Fran Diéguez [Tue, 21 Jun 2011 11:58:45 +0000 (13:58 +0200)]
Updated Galician translations
Claudio Saavedra [Mon, 20 Jun 2011 21:29:45 +0000 (00:29 +0300)]
Avoid GApplication being released twice on gtk_application_remove_window() calls
Removing the window from the window list before setting the
application to %NULL avoids gtk_application_remove_window() triggering
another call to gtk_application_window_removed(), which would release
the application a second time.
https://bugzilla.gnome.org/show_bug.cgi?id=653053
Javier Jardón [Mon, 20 Jun 2011 13:24:57 +0000 (14:24 +0100)]
docs: remove tmpl directories
We do not use template files anymore
Javier Jardón [Mon, 20 Jun 2011 10:38:03 +0000 (11:38 +0100)]
configure.ac: Generate xz tarballs with ustar format by default
Chun-wei Fan [Mon, 20 Jun 2011 09:05:00 +0000 (17:05 +0800)]
Update VS property sheets
As Cairo and Cairo-GObject are often built as two seperate DLLs/modules,
set the property sheets to link to both libraries, instead of using the
previous approach where a monolithic Cairo DLL which contains GObject
support is used.
Chun-wei Fan [Mon, 20 Jun 2011 04:19:54 +0000 (12:19 +0800)]
Refine Visual C++ 2010 projects
-Remove unneeded tags from projects
-Seperate intermediate directories for projects to avoid rebuilding/
linking on every rebuild and MSBuild errors (et al.) for not being
able to write into build log files as they are in use.
Kjartan Maraas [Sun, 19 Jun 2011 15:32:13 +0000 (17:32 +0200)]
Updated Norwegian bokmål translation.
Jorge González [Sun, 19 Jun 2011 15:18:01 +0000 (17:18 +0200)]
Updated Spanish translation
Matthias Clasen [Sat, 18 Jun 2011 16:36:38 +0000 (12:36 -0400)]
Add sibling information to widget path string representations
Matthias Clasen [Sat, 18 Jun 2011 15:11:47 +0000 (11:11 -0400)]
Fix css syntax in example
Matthias Clasen [Sat, 18 Jun 2011 02:57:35 +0000 (22:57 -0400)]
Remove an unused variable
Matthias Clasen [Sat, 18 Jun 2011 00:35:41 +0000 (20:35 -0400)]
Remove nonexisting properties
glade insists on adding GtkGrid:n-rows and :n-columns, for
no good reason...
Cosimo Cecchi [Fri, 17 Jun 2011 15:33:18 +0000 (11:33 -0400)]
tests: import the widget-factory test for theming
Courtesy of Andrea Cimitan <andrea.cimitan@canonical.com>.
Matthias Clasen [Fri, 17 Jun 2011 03:51:06 +0000 (23:51 -0400)]
Update keybinding docs
These were still explaining gtkrc syntax.
Matthias Clasen [Fri, 17 Jun 2011 03:35:24 +0000 (23:35 -0400)]
Remove unnecessary includes
gtkstyle.h is similarly unused.
Matthias Clasen [Fri, 17 Jun 2011 03:33:43 +0000 (23:33 -0400)]
Remove unused includes
Nothing is using gtkrc.h functionality any more.
Matthias Clasen [Fri, 17 Jun 2011 03:18:03 +0000 (23:18 -0400)]
Silence a warning
Matthias Clasen [Fri, 17 Jun 2011 02:15:50 +0000 (22:15 -0400)]
GtkBox: don't reset styles too often
José Aliste [Thu, 16 Jun 2011 18:32:13 +0000 (14:32 -0400)]
info_bar: call style_updated at the end of info_bar_init
This fix a render bug where the infobar would not add borders
arount its content. Fix proposed by Benjamin Otte.
Chun-wei Fan [Thu, 16 Jun 2011 07:34:43 +0000 (15:34 +0800)]
Update Visual C++ projects
Use G_ENABLE_DEBUG for all debug builds
Benjamin Otte [Wed, 15 Jun 2011 20:50:59 +0000 (22:50 +0200)]
toolbar: Better fix for animations
It turns out there's more places where the toolbar item size is used as
the margin box instead of the content box. Because of that, store the
margin box when allocating and use it whenever calls
toolbar_content_get_allocation() instead of calling
gtk_widget_get_allocation().
Benjamin Otte [Wed, 15 Jun 2011 17:59:45 +0000 (19:59 +0200)]
toolbar: Handle the fact that size_allocate() != get_allocation()
size_allocate() allocates the available space for the margin box,
get_allocation() returns the actual space of the content box and those
can be different. And then animations never stop.
If that makes you go "huh?", you might want to read
http://www.w3.org/TR/CSS21/box.html
and the docs for gtk_widget_compute_align().
Benjamin Otte [Wed, 15 Jun 2011 15:24:36 +0000 (11:24 -0400)]
reftests: fix background-area reftest after the last commit
Cosimo Cecchi [Wed, 15 Jun 2011 05:07:11 +0000 (01:07 -0400)]
themingengine: shrink the background size to the padding-box
This fixes a regression introduced by this commit [1] that causes
background to draw beyond the padding-box, which breaks rounded corners,
(in addition to not being compliant with what CSS does by default).
[1] http://git.gnome.org/browse/gtk+/commit/?id=
c56700ca3029a9ab1362009bff35f2a70e432c02
https://bugzilla.gnome.org/show_bug.cgi?id=652618
Xan Lopez [Wed, 15 Jun 2011 12:13:20 +0000 (14:13 +0200)]
themingengine: plug a couple of leaks
Xan Lopez [Wed, 15 Jun 2011 11:45:34 +0000 (13:45 +0200)]
border-image: Fix leakage
Benjamin Otte [Sun, 29 May 2011 03:24:28 +0000 (05:24 +0200)]
tests: Add tests for font-family
This readds the tests now that font-family works again. They were
previously removed when font-family support was backed out due to bugs.
Benjamin Otte [Sun, 29 May 2011 05:03:59 +0000 (07:03 +0200)]
css: Make font property a shorthand
... and implement the CSS font properties:
- font-size
- font-style
- font-family
- font-weight
- font-variant
This is the second try at this. The first was backed out previously due
to bugginess. Let's hope this one survives a bit longer.
Also makes the font-family CSS test work again.
Matthias Clasen [Wed, 15 Jun 2011 01:59:55 +0000 (21:59 -0400)]
Add a missing break statement
Matthias Clasen [Wed, 15 Jun 2011 01:58:51 +0000 (21:58 -0400)]
Add a missing break statement
Matthias Clasen [Wed, 15 Jun 2011 01:56:50 +0000 (21:56 -0400)]
Avoid an oob read
Matthias Clasen [Wed, 15 Jun 2011 01:53:53 +0000 (21:53 -0400)]
Remove a redundant NULL check
Matthias Clasen [Wed, 15 Jun 2011 01:50:16 +0000 (21:50 -0400)]
Avoid a dereference-before-null-check
Matthias Clasen [Wed, 15 Jun 2011 01:44:12 +0000 (21:44 -0400)]
Give this code a chance to work
At least it does not get uninitialized variable warnings now.
Matthias Clasen [Wed, 15 Jun 2011 01:18:08 +0000 (21:18 -0400)]
Make this code more meaningful
Matthias Clasen [Wed, 15 Jun 2011 01:14:48 +0000 (21:14 -0400)]
Don't forget to cleanup varargs
William Jon McCann [Tue, 14 Jun 2011 20:01:29 +0000 (16:01 -0400)]
tests: Add simple test for image clipboard
Matej Urbančič [Tue, 14 Jun 2011 16:24:30 +0000 (18:24 +0200)]
Updated Slovenian translation
Juan A. Suarez Romero [Tue, 14 Jun 2011 09:49:23 +0000 (09:49 +0000)]
image: Initialize variable
Matthias Clasen [Tue, 14 Jun 2011 02:35:15 +0000 (22:35 -0400)]
GtkAssistant: improve button labels
Forward/Back/Last has been declared strange; so go with something
a little more friendly: Continue/Go Back/Finish.
https://bugzilla.gnome.org/show_bug.cgi?id=652506
Benjamin Otte [Mon, 13 Jun 2011 16:29:07 +0000 (18:29 +0200)]
docs: Add Since tag to GtkWidget::draw
Benjamin Otte [Mon, 13 Jun 2011 16:27:24 +0000 (18:27 +0200)]
demos: Remove unused variable
Benjamin Otte [Mon, 13 Jun 2011 04:25:19 +0000 (06:25 +0200)]
tests: Add a CSS test for color parsing errors
In [particular check for the fix in the last commit.
Benjamin Otte [Mon, 13 Jun 2011 04:24:10 +0000 (06:24 +0200)]
cssparser: Actually send an error in an error case
The error case was excess commas in rgb/rgba colors, such as
rgba(0,255,0,0,0.5)
Benjamin Otte [Mon, 13 Jun 2011 04:13:16 +0000 (06:13 +0200)]
themingengine: Improve handling of different colors
We don't want to have different colors cause seams, so we try very hard
to render them at the same time.
Benjamin Otte [Mon, 13 Jun 2011 03:04:44 +0000 (05:04 +0200)]
themingengine: Implement support for multiple border colors
Also use this support to implement inset and outset border styles
without cheats.